package pri.damai.xiaowu.usercenter.form;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


/**
 * 系统资源表(SysResource)表实体类
 * @Desc
 * @Author DaMai
 * @Date 2022-03-03 17:00:31
 */
@Data
public class SysResourceForm {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "归属系统id")
    private Long sysId;

    @Schema(description = "父级id")
    private Long parentId;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "描述")
    private String desc;

    @Schema(description = "url")
    private String url;

    @Schema(description = "前端用于控制是否展示的key值")
    private String resourceKey;

    @Schema(description = "资源类型(1: 菜单；2: 按钮)")
    private Integer type;

}
